<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="../css/ui-base.css">
    <link rel="stylesheet" href="../css/ui-box.css">
    <link rel="stylesheet" href="../css/project/style.css">
	<link rel="stylesheet" href="css/articlecommon.css">
    <script src="../js/zy_control.js">
    </script>
    <script src="../js/zy_click.js">
    </script>
	<script src="../js/saplife.js"></script>
	<script src="../js/zy_json.js"></script>
</head>
<body class="um-vp" ontouchstart>
	<div class="ub ub-fv ub-fh urel" onclick="closepop()" style="background-color:rgba(0, 0, 0, 0.3)">
		
	</div>
	<div class="ub ub-ver ub-fh c-wh" style="bottom: 0;left: 0;position: absolute;">
		<div class="ub ub-ac c-wh">
			<div class="umw3 ub ub-ac ub-pc uinn" ontouchstart="zy_touch('')" onclick="closepop()">
            	<div class="ub-img quxiao umw1 umh1"></div>
        	</div>	
			<div class=" tx-c t-bla ub-f1 ulev-app1">新浪微博</div>
			<div class="umw3 ub ub-ac ub-pc uinn" ontouchstart="zy_touch('')" onclick="comment()">
            	<div class="ub-img queding  umw1 umh1"></div>
        	</div>	
		</div>
		<textarea type="text" class="uba b-gra4 uinn3 uc-a1 ub ub-f1 ulev0" style="margin:1em;min-height:8em;font-size:1em;"></textarea>
	</div>
</body>
<script>
zy_init();
window.uexOnload=function(type){
	if(!type){
		
	}
}
function closepop(){
	uexWindow.evaluateScript('news_articlecommon','0','closepop()');
}

function comment() {
	var params = zy_parse();
	var articleId = params.articleId;
	var requestUrl = articleApiUrl+"/"+articleId+"/comment";
    var data = {
        content: "程序员 2014-10-20 一天的奇妙之旅,赞！",
        refer: articleId,
        replyToComment: "",
        title: "评论：程序员 2014-10-20 一天的奇妙之旅"
    };
	
    $.getJSON(requestUrl, function(result){
        var test = result;
    }, 'json', function(err){
        alert(JSON.stringify(err));
    }, 'POST', data);
}
</script>
</html>
